try :
    import maya.cmds as cmds
    MAYA = True
except :
    MAYA = False
    
class QA:
    def __init__(self):
        if MAYA :
            self.theTransform = cmds.ls(typ='transform')
        else :
            self.theTransform = ''
        self.basicCamTrans = [u'front', u'persp', u'side', u'top']

    def QAtest(self):
        self.namingTest()
        
    def namingTest(self):
        if self.theTransform=='':return False
        for y in self.basicCamTrans:
            self.theTransform.pop(self.theTransform.index(y))
        for x in self.theTransform:
            if len(x.split('_'))<3: return False
        return True
    
